/**
 *  Copyright 2010 ShenYang voole Co. Ltd.
 *  All right reserved. 
 */
package com.dianning.dao;

import java.util.List;

import com.dianning.bean.AdAds;
import com.dianning.bean.AdSpace;
import com.dianning.bean.Admin;
import com.dianning.bean.Area;
import com.dianning.bean.Channel;
import com.dianning.bean.Credit;
import com.dianning.bean.Info;
import com.dianning.bean.InfoExpand;
import com.dianning.bean.Visitor;

/**
 * 功能描述:信息扩展操作接口
 *
 * 创建日期 Apr 10, 2010
 *
 * @author zhangbaochao
 *
 * @version 1.0
 *
 */
public interface InfoExpandDAO {
	
	/**
	 * 保存InfoExpand对象
	 * 
	 * @param infoExpand
	 * 			InfoExpand对象
	 * @return InfoExpand
	 * 			InfoExpand对象
	 */
	public InfoExpand saveInfoExpand(InfoExpand infoExpand);
	/**
	 * 保存或更新InfoExpand对象
	 * 
	 * @param infoExpand
	 * 			InfoExpand对象
	 * @return InfoExpand
	 * 			InfoExpand对象
	 */
	public InfoExpand saveOrUpdateInfoExpand(InfoExpand infoExpand);
	/**
	 * 保存InfoExpand对象
	 * 
	 * @param infoExpand
	 * 			InfoExpand对象
	 * @return InfoExpand
	 * 			InfoExpand对象
	 */
	public InfoExpand updateInfoExpand(InfoExpand infoExpand);
	
	/**
	 * 根据主键ID获取InfoExpand对象
	 * 
	 * @param id
	 * 			主键ID
	 * @return InfoExpand
	 * 			InfoExpand对象
	 */
	public InfoExpand findInfoExpandById(long id);
	
	/**
	 * 根据InfoID,Keyword获取InfoExpand对象
	 * @param infoId
	 * @param keyword
	 * @return InfoExpand
	 * 			InfoExpand对象
	 */
	public InfoExpand findInfoExpandByInfoIdKeyword(long infoId,String keyword);
	
	/**
	 * 根据InfoIda获取InfoExpand对象列表
	 * @param InfoId
	 * 			long infoId
	 * @return List
	 * 			InfoExpand对象列表
	 */
	public List findInfoExpandsByInfoId(long InfoId);
	
	/**
	 * 根据参数获取InfoIds
	 * @param where
	 * @param infoIds
	 * @return List
	 * 			InfoIds
	 */
	public List findInfoExpandInfoIds(String where,List infoIds);
}
